<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<style type="text/css">
	
	.select_width { width:135px }

</style>

<div class="t_bar">
	人员情况（单位：人）
</div>
	<table  id="zh_persons" border="0" cellspacing="0" cellpadding="0" class="table01" >
		
			<tr >
				<td   width="150px" rowspan="2" align="center">
					职工总人数
				</td>
				<td  width="150px" rowspan="2" align="center">
					<span
						name="organizations/organization[0]/people_count_total"><x:out
								select="$xmlData/data/organization_persons/people_count_total" />
					</span>&nbsp;
					<input type="hidden" value="<x:out select="$xmlData/data/organization_persons/people_count_total" />"  id="people_count_total">
				</td>
				<td width="150px"  rowspan="2" align="center">
					大专以上人员人数及<br>占总人数百分比
				</td>
				<td width="150px" align="center">
					<span name="organizations/organization[0]/degree_total" id="1d1egree_total"><x:out select="$xmlData/data/organizations/organization[@submit_org=1]/degree_total" /></span>
					<input type="hidden" id='degree_college' value="<x:out select='$xmlData/data/organization_persons/degree_college' />">
				    <input type="hidden" id='degree_bachelor' value="<x:out select='$xmlData/data/organization_persons/degree_bachelor' />">
				    <input type="hidden" id='degree_master' value="<x:out select='$xmlData/data/organization_persons/degree_master' />">
				    <input type="hidden" id='degree_doctor' value="<x:out select='$xmlData/data/organization_persons/degree_doctor' />">
				    
				</td>
				<td  width="150px" rowspan="2" align="center">
					研究开发人员人数<br>及总数百分比
				</td>
				<td width="150px" align="center">
					<span name="organizations/organization[0]/work_yanfa"><x:out select="$xmlData/data/organization_persons/work_yanfa" /></span>&nbsp;
					<input type="hidden" value="<x:out select="$xmlData/data/organization_persons/work_yanfa" />" id="work_yanfa"/>
				</td>
				
			</tr>
			<tr>	
				<td align="center">
					<span name="organizations/organization[0]/degree_total_rate" id="degree_total_rate"></span>&nbsp;
				</td>
				<td align="center">
					<span name="organizations/organization[0]/work_yanfa_rate" id="1wo1rk_yanfa_rate"></span>&nbsp;
				</td>
			</tr>
	</table>
	<br>
	<div class="t_bar">
	<span class="color_red">*</span>法定代表人情况
	</div>
	<table  id="tblFaren" border="0" cellspacing="1" cellpadding="0" class="t_css" width="100%">
		<tr>
			<td align="right"  nowrap>姓名：</td>
			<td >
				<input type="hidden" name="org_persons/organization_person[00]@psn_type" value="faren">
			    <input type="text" class="required" label="法定代表人情况->姓名" maxlength="50" name="org_persons/organization_person[00]/cname" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/cname"/>" />
			    <input type="hidden" name="cname" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/cname"/>">
			</td>
			<td align="right"  nowrap>性别：</td>
			<td >	
		       <label><input type="radio" name="gender0"  class="do" value="男" label="男" >男</label>
			   <label><input type="radio" name="gender0"  class="do" value="女" label="女" >女</label>
		       <input type="hidden" id='gender_value' name="org_persons/organization_person[00]/gender0_value" class="required"  label="法定代表人情况->性别"  value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/gender0_value" />">	
			   <input type="hidden" name="org_persons/organization_person[00]/gender0_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/gender0_name" />">	
		    </td>
			<td align="right"  nowrap>出生年月：</td>
			<td  nowrap>
			    <c:set var="farenbirthday"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/birthday"/></c:set> 
			    <cpt:date id="farenbirthday" name="org_persons/organization_person[00]/birthday" value="${farenbirthday}"  size="16"
				     className="required date beforeToday" label="法定代表人情况->出生年月"></cpt:date>
			    <input type="hidden" name="birthday" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/birthday"/>">
			</td>
			<td align="right"  nowrap>最高学历：</td>
			<td >
			
				<c:set var="freducate"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/freducate_background_value"/></c:set>
				<c:set var="freducate2"><x:out select="$xmlData/data/organization_persons/person[@type='faren']/educate_background_value"/></c:set>
				<c:if test="${freducate==''}">
				<cpt:select id="freducate_background"  key="educate"  className="select_width" value="${freducate2}" ></cpt:select>
				</c:if>
				<c:if test="${freducate!=''}">
				<cpt:select id="freducate_background"  key="educate"  className="select_width" value="${freducate}" ></cpt:select>
				</c:if>
				<input type="hidden" name="org_persons/organization_person[00]/freducate_background_value"  class="required" value="${freducate}" label="法定代表人情况->最高学历">
				<input type="hidden" name="org_persons/organization_person[00]/freducate_background_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/freducate_background_name" />">
				<input type="hidden" name="freducate_background_value" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/educate_background_value"/>">
				<input type="hidden" name="freducate_background_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/educate_background_name"/>">
			</td>
		</tr>
		<tr>
			<td align="right" nowrap  nowrap>现任职时间：</td>
			<td  nowrap>
				<c:set var="frserving_time"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/serving_time"/></c:set> 
			    <cpt:date id="frserving_time" name="org_persons/organization_person[00]/serving_time" value="${frserving_time}" size="16" 
				className="required date beforeToday dateCompareAfterE:frserving_time:farenbirthday" label="法定代表人情况->现任职时间"></cpt:date>
				<input type="hidden" name="serving_time" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/serving_time"/>">	
			</td>
			<td align="right"  nowrap>电话：</td>
			<td >
				<input type="text" class="required" label="法定代表人情况->电话" maxlength="20"  name="org_persons/organization_person[00]/tel" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/tel"/>"/>
				<input type="hidden" name="tel" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/tel"/>">
			</td>
			<td align="right"  nowrap>手机：</td>
			<td >
				<input type="text" class="required mobile" label="法定代表人情况->手机" maxlength="11"  name="org_persons/organization_person[00]/mobile" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/mobile"/>"/>
				<input type="hidden" name="mobile" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/mobile"/>">
			</td>
			<td align="right"  nowrap>专业：</td>
			<td >
				<input type="text" class="required" label="法定代表人情况->专业" maxlength="50"  name="org_persons/organization_person[00]/major" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/major"/>"/>
				<input type="hidden" name="mobile" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/major"/>">
			</td>
		</tr>
		<tr>
		    <td align="right" nowrap  nowrap>职务：</td>
		    <td >
				<input type="text" name="org_persons/organization_person[00]/position" class="required" label="法定代表人情况->职务" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/position"/>"/>
				<input type="hidden" name="position" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/position"/>">
			</td>
			<td align="right">证件类型：</td>
			<td>
			  <input type="hidden"  name="org_persons/organization_person[00]@psn_type" value="faren">
		        <c:set var="farencardtype"><x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_type_value"/></c:set>
			    <c:set var="farencardtype2"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/faren_card_type_value"/></c:set>
			    <c:if test="${farencardtype2=='' }">
			       <cpt:select id="faren_card_type" key="id_type" value="${farencardtype}" className="select_width" onChange="changeCardType(this,'faren','法定代表人情况');"></cpt:select>
			    </c:if>
			    <c:if test="${farencardtype2!='' }">
			       <cpt:select id="faren_card_type" key="id_type" value="${farencardtype2}" onChange="changeCardType(this,'faren','法定代表人情况');"></cpt:select>
			    </c:if>
		        <input type="hidden" id="faren_card_type_value" name="org_persons/organization_person[00]/faren_card_type_value" value="${farencardtype2}" label="法定代表人情况->证件类型" class="required"/>
				<input type="hidden" name="org_persons/organization_person[00]/faren_card_type_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/faren_card_type_name"/>" />
				<input type="hidden" name="faren_card_type_value" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_type_value"/>">
			    <input type="hidden" name="faren_card_type_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_type_name"/>">
			</td>
			<td align="right" nowrap  nowrap>证件号码：</td>
		    <td colspan="3">
				<input type="text" class='required ' label="法定代表人情况->证件号码"   id='faren_id_no' onchange="idcard('faren_card_type','faren_id_no');" name="org_persons/organization_person[00]/id_no" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/id_no"/>"/>
				<input type="hidden" id="fid_no1" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_no"/>">
			   <script type="text/javascript">
			   $(function(){
				   var id_no1=$("#faren_id_no").val();
				   if(id_no1==null || id_no1==''){
					   $("#faren_id_no").val($("#fid_no1").val());
				   }
			   });
			   </script>
			</td>
		</tr>
		<tr>
			<td colspan="8"  nowrap>主要学习、工作经历、主要作品（限300字）</td>
		</tr>
		<tr>
		<td colspan="8">
		<textarea name="org_persons/organization_person[00]/work_situation" rows="7" cols="150" class="input_textarea required maxlength:300 textarea" required label="法定代表人情况->主要学习、工作经历、主要作品" ><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='faren']/work_situation" escapeXml="true" /></textarea>
		<input name="org_persons/organization_person[00]/work_situation_hidden" type="hidden" value=""/>
		</td>
		</tr>
	</table>
	
	<br>
	<div class="t_bar">
	<span class="color_red">*</span>单位负责人情况
	</div>
	<table  id="tblfuzeren" border="0" cellspacing="1" cellpadding="0" class="t_css" width="100%">
		<tr>
			<td align="right"  nowrap>姓名：</td>
			<td >
			<input type="hidden" name="org_persons/organization_person[01]@psn_type" value="fuzeren">
			<input type="text" class="required" label="单位负责人情况->姓名" maxlength="50" name="org_persons/organization_person[01]/cname" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/cname"/>" />
			<input type="hidden" name="cname" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/cname"/>">
			</td>
			<td align="right"  nowrap>性别：</td>
			<td >	
		       <label><input type="radio" name="gender1"  class="do" value="男" label="男" >男</label>
			   <label><input type="radio" name="gender1"  class="do" value="女" label="女" >女</label>
		       <input type="hidden" id='gender_value' name="org_persons/organization_person[01]/gender1_value" class="required"  label="单位负责人情况->性别"  value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/gender1_value" />">	
			   <input type="hidden" name="org_persons/organization_person[01]/gender1_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/gender1_name" />">	
		    </td>
			<td align="right"  nowrap>出生年月：</td>
			<td  nowrap>
			<c:set var="fuzerenbirthday"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/birthday"/></c:set> 
			<cpt:date id="fuzerenbirthday" name="org_persons/organization_person[01]/birthday" value="${fuzerenbirthday}" size="16" 
				className="required date beforeToday" label="单位负责人情况->出生年月"></cpt:date>

			<input type="hidden" name="birthday" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/birthday"/>">
			</td>
			<td align="right"  nowrap>最高学历：</td>
			<td >
			
			<c:set var="fzreducate"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/fzreducate_background_value"/></c:set>
			<c:set var="fzreducate2"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/educate_background_value"/></c:set>
			<c:if test="${fzreducate=='' }">
			<cpt:select id="fzreducate_background"  key="educate"  className="select_width" value="${fzreducate2}" ></cpt:select>
			</c:if>
			<c:if test="${fzreducate!='' }">
			<cpt:select id="fzreducate_background"  key="educate"  className="select_width" value="${fzreducate}" ></cpt:select>
			</c:if>
			<input type="hidden" name="org_persons/organization_person[01]/fzreducate_background_value"  class="required" value="${fzreducate}" label="单位负责人情况->最高学历">
				<input type="hidden" name="org_persons/organization_person[01]/fzreducate_background_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/fzreducate_background_name" />">
				<input type="hidden" name="fzreducate_background_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/educate_background_name"/>">
				<input type="hidden" name="fzreducate_background_value" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/educate_background_value"/>">
			</td>
		</tr>
		<tr>
			<td align="right" nowrap  nowrap>现任职时间：</td>
			<td  nowrap>
				
				<c:set var="fzrservingtime"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/serving_time"/></c:set> 
			<cpt:date id="fzrservingtime" name="org_persons/organization_person[01]/serving_time" value="${fzrservingtime}" size="16" 
				className="required date beforeToday dateCompareAfterE:fzrservingtime:fuzerenbirthday" label="单位负责人情况->现任职时间"></cpt:date>	
					
				<input type="hidden" name="serving_time" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/serving_time"/>">	
			</td>
			<td align="right"  nowrap>电话：</td>
			<td >
				<input type="text" name="org_persons/organization_person[01]/tel" class="required" label="单位负责人情况->电话" maxlength="20"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/tel"/>"/>
				<input type="hidden" name="tel" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/tel"/>">
			</td>
			<td align="right"  nowrap>手机：</td>
			<td >
				<input type="text" class="required mobile" label="单位负责人情况->手机" maxlength="11" name="org_persons/organization_person[01]/mobile" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/mobile"/>"/>
				<input type="hidden" name="mobile" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/mobile"/>">
			</td>
			<td align="right"  nowrap>专业：</td>
			<td >
				<input type="text" name="org_persons/organization_person[01]/major" class="required " label="单位负责人情况->专业" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/major"/>"/>
				<input type="hidden" name="mobile" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/major"/>">
			</td>
		</tr>
		<tr>
		    <td align="right" nowrap  nowrap>职务：</td>
		    <td >
				<input type="text" name="org_persons/organization_person[01]/position" class="required " label="单位负责人情况->职务" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/position"/>"/>
				<input type="hidden" name="position" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/position"/>">
			</td>
			<td align="right">证件类型：</td>
			<td>
			  <input type="hidden"  name="org_persons/organization_person[01]@psn_type" value="fuzeren">
		        <c:set var="fuzerencardtype"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_value"/></c:set>
			    <c:set var="fuzerencardtype2"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/fuzeren_card_type_value"/></c:set>
			    <c:if test="${fuzerencardtype2=='' }">
			       <cpt:select id="fuzeren_card_type" key="id_type" value="${fuzerencardtype}" className="select_width" onChange="changeCardType(this,'fuzeren','法定代表人情况');"></cpt:select>
			    </c:if>
			    <c:if test="${fuzerencardtype2!='' }">
			       <cpt:select id="fuzeren_card_type" key="id_type" value="${fuzerencardtype2}" onChange="changeCardType(this,'fuzeren','法定代表人情况');"></cpt:select>
			    </c:if>
		        <input type="hidden" id="fuzeren_card_type_value" name="org_persons/organization_person[01]/fuzeren_card_type_value" value="${fuzerencardtype2}" label="单位负责人情况->证件类型" class="required"/>
				<input type="hidden" name="org_persons/organization_person[01]/fuzeren_card_type_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/fuzeren_card_type_name"/>" />
				<input type="hidden" name="fuzeren_card_type_value" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_value"/>">
			    <input type="hidden" name="fuzeren_card_type_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_name"/>">
			</td>
			<td align="right" nowrap  nowrap>证件号码：</td>
		    <td colspan="3">
				<input type="text" class='required ' label="单位负责人情况->证件号码"  id='fuzeren_id_no' onchange="idcard('fuzeren_card_type','fuzeren_id_no');" name="org_persons/organization_person[01]/id_no" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/id_no"/>"/>
				<input type="hidden" id="fid_no2" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_no"/>">
			   <script type="text/javascript">
			   $(function(){
				   var id_no2=$("#fuzeren_id_no").val();

				   if(id_no2==null || id_no2==''){
					   $("#fuzeren_id_no").val($("#fid_no2").val());
				   }
			   });
			   </script>
			  
			  <!-- 
			    <input type="hidden" id="fid_type_value2" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_value"/>">
			    <script type="text/javascript">
	            $(function() {
		             var fid_type_value=$("#fid_type_value2").val();
		             if(fid_type_value==1){
		            	 $("#id_no2").val($("#fid_no2").val());
		             }
	            });
            </script>
             -->
             
			</td>
		</tr>
		<tr>
			<td colspan="8"  nowrap>主要学习、工作经历、主要作品（限300字）</td>
		</tr>
		<tr>
		<td colspan="8">
		<textarea name="org_persons/organization_person[01]/work_situation" rows="7" cols="150" class="input_textarea required maxlength:300 textarea" required label="单位负责人情况->主要学习、工作经历、主要作品" ><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='fuzeren']/work_situation" escapeXml="true" /></textarea>
		<input name="org_persons/organization_person[01]/work_situation_hidden" type="hidden" value=""/>
		</td>
		</tr>
	</table>
	
	
	<br>
	<div class="t_bar">
	<span class="color_red">*</span>单位技术负责人情况
	</div>
	<table  id="tblfuzeren1" border="0" cellspacing="1" cellpadding="0" class="t_css" width="100%">
		<tr>
			<td align="right"  nowrap>姓名：</td>
			<td >
				<input type="hidden"
			       name="org_persons/organization_person[02]@psn_type" value="jishuren">
			    <input type="text" name="org_persons/organization_person[02]/cname" class="required " label="单位技术负责人情况->姓名" maxlength="50"
				   value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/cname"/>" />
			</td>
			<td align="right"  nowrap>性别：</td>
			<td >	
		       <label><input type="radio" name="gender2"  class="do" value="男" label="男" >男</label>
			   <label><input type="radio" name="gender2"  class="do" value="女" label="女" >女</label>
		       <input type="hidden" id='gender_value' name="org_persons/organization_person[02]/gender2_value" class="required"  label="单位技术负责人情况->性别"  value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/gender2_value" />">	
			   <input type="hidden" name="org_persons/organization_person[02]/gender2_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/gender2_name" />">	
		    </td>
			<td align="right"  nowrap>出生年月：</td>
			<td  nowrap>
			    <c:set var="jishurenbirthday"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/birthday"/></c:set> 
			    <cpt:date id="jishurenbirthday" name="org_persons/organization_person[02]/birthday" value="${jishurenbirthday}" size="16" 
				     className="required date beforeToday" label="单位技术负责人情况->出生年月"></cpt:date>
			</td>
			<td align="right"  nowrap>最高学历：</td>
			<td >
			    <c:set var="jsreducate"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/jsreducate_background_value"/></c:set>
				<cpt:select id="jsreducate_background"  key="educate"  className="select_width" value="${jsreducate}" ></cpt:select>
				<input type="hidden" name="org_persons/organization_person[02]/jsreducate_background_value"  class="required" value="${jsreducate}" label="单位技术负责人情况->最高学历">
				<input type="hidden" name="org_persons/organization_person[02]/jsreducate_background_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/jsreducate_background_name" />">
			</td>
		</tr>
		<tr>
			<td align="right" nowrap  nowrap>现任职时间：</td>
			<td  nowrap>
			<c:set var="jsrservingtime"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/serving_time"/></c:set> 
			<cpt:date id="jsrservingtime" name="org_persons/organization_person[02]/serving_time" value="${jsrservingtime}" size="16" 
				className="required date beforeToday dateCompareAfterE:jsrservingtime:jishurenbirthday" label="单位技术负责人情况->现任职时间"></cpt:date>	
				<input type="hidden" name="serving_time" value="<x:out select="$xmlData/data/organization_persons/person[@type='jishuren']/serving_time"/>">	
			</td>
			<td align="right"  nowrap>电话：</td>
			<td >
				<input type="text" name="org_persons/organization_person[02]/tel" class="required " label="单位技术负责人情况->电话" maxlength="20"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/tel"/>"/>		
			</td>
			<td align="right"  nowrap>手机：</td>
			<td >
				<input type="text" class="required mobile" label="单位技术负责人情况->手机" maxlength="11" name="org_persons/organization_person[02]/mobile" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/mobile"/>"/>
			</td>
			<td align="right"  nowrap>专业：</td>
			<td >
				<input type="text" name="org_persons/organization_person[02]/major" class="required " label="单位技术负责人情况->专业" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/major"/>"/>
			</td>
		</tr>
		<tr>
		    <td align="right" nowrap  nowrap>职务：</td>
		    <td >
				<input type="text" name="org_persons/organization_person[02]/position"  class="required " label="单位技术负责人情况->职务" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/position"/>"/>
			</td>
			<td align="right">证件类型：</td>
			<td>
			<c:set var="card_type_value"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/card_type_value" /></c:set>
			<cpt:select id="card_type" key="id_type" value="${card_type_value }" onChange="changeCardType(this,'jishu','单位技术负责人情况 ');" className="select_width" ></cpt:select>
			<input type="hidden" name="org_persons/organization_person[02]/card_type_value" id="card_type" value="${card_type_value }" label="单位技术负责人情况->证件类型" class="required"/>
			<input type="hidden" name="org_persons/organization_person[02]/card_type_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/card_type_name" />"/>
		    </td>
			<td align="right" nowrap  nowrap>证件号码：</td>
		    <td colspan="3">
				<input type="text" class='required ' id='jishu_id_no' name="org_persons/organization_person[02]/id_no" label="单位技术负责人情况->证件号码" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/id_no"/>"/>
			</td>
		</tr>
		<tr>
			<td colspan="8"  nowrap>主要学习、工作经历、主要作品（限300字）</td>
		</tr>
		<tr>
		<td colspan="8">
				<textarea name="org_persons/organization_person[02]/work_situation" rows="7" cols="150" class="input_textarea required maxlength:300 textarea" required label="单位技术负责人情况->主要学习、工作经历、主要作品" ><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='jishuren']/work_situation" escapeXml="true" /></textarea>
			<input name="org_persons/organization_person[02]/work_situation_hidden" type="hidden" value=""/>
			</td>
		</tr>
	</table>
	
	
	
	<br>
	<div class="t_bar">
	<span class="color_red">*</span>项目核心人员情况1
	</div>
	<table  id="tblProjectFuzeren" border="0" cellspacing="1" cellpadding="0" class="t_css" width="100%">
		<tr>
			<td align="right"  nowrap>姓名：</td>
			<td >
				<input type="hidden" 
			      name="org_persons/organization_person[03]@psn_type" value="project">
			    <input id="cnameFuzeren" type="text" name="org_persons/organization_person[03]/cname" class="required " label="项目核心人员1->姓名" maxlength="50"
				  value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/cname"/>" />
			    <input type="hidden" name="cname" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/zh_name"/>">
				
			    <security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
			    	<script type="text/javascript">
			    	$(document).ready(function(){
			    		$("#cnameFuzeren").attr("disabled","disabled");
			    	});
			    	</script>
					<span id="personSelect">
					<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置">
					<cpt:personSelect key="personSelect" addRole="3" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="项目核心人员" fltFile="personSelector.ftl"></cpt:personSelect>
					</span>
				</security:authorize>
			</td>
			<td align="right"  nowrap>性别：</td>
			<td >	
		       <label><input type="radio" name="gender3" id="gender3radio1"  class="do" value="男" label="男" >男</label>
			   <label><input type="radio" name="gender3" id="gender3radio2"  class="do" value="女" label="女" >女</label>
		       <input type="hidden" id="gender3Value" name="org_persons/organization_person[03]/gender3_value" class="required"  label="项目核心人员1->性别"  value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/gender3_value" />">	
			   <input type="hidden" id="gender3_name" name="org_persons/organization_person[03]/gender3_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/gender3_name" />">	
		       <input type="hidden"  name="gender3_value" id="gender3_value" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/gender_value" />">	
		       <script type="text/javascript">
	            $(function() {
		             var gender3=$("#gender3Value").val();
		             var gender3_value=$("#gender3_value").val();
		             if(gender3_value=='M'&&gender3==''){
		            	 $("#gender3radio1").attr("checked",true);
		            	 $("#gender3_name").val("男");
		             }
		             if(gender3_value=='F'&&gender3==''){
		            	 $("#gender3radio2").attr("checked",true);
		            	 $("#gender3_name").val("女");
		             }
		            
	            });
            </script> 
		    </td>
			<td align="right"  nowrap>出生年月：</td>
			<td  nowrap>
			    <c:set var="projectbirthday"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/birthday"/></c:set> 
			    <cpt:date id="projectbirthday" name="org_persons/organization_person[03]/birthday" value="${projectbirthday}" size="16" 
				   className="required date beforeToday" label="项目核心人员1->出生年月"></cpt:date>
			    <input type="hidden" name="birthday" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/birthday" />">
			</td>
			<td align="right"  nowrap>最高学历：</td>
			<td >
				<c:set var="peducate"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/peducate_background_value"/></c:set>
				<c:set var="peducate2"><x:out select="$xmlData/data/zh_persons/zh_person/basic_info/educate_value"/></c:set>
				<c:if test="${peducate=='' }">
				<cpt:select id="peducate_background"  key="educate"  className="select_width" value="${peducate2}" ></cpt:select>
				</c:if>
				<c:if test="${peducate!='' }">
				<cpt:select id="peducate_background"  key="educate"  className="select_width" value="${peducate}" ></cpt:select>
				</c:if>
				<input type="hidden" name="org_persons/organization_person[03]/peducate_background_value"  class="required" value="${peducate}" label="项目核心人员1->最高学历">
				<input type="hidden" name="org_persons/organization_person[03]/peducate_background_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/peducate_background_name" />">
				<input type="hidden" name="peducate_background_value" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/educate_value" />">
				<input type="hidden" name="peducate_background_name" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/educate_name" />">
			</td>
		</tr>
		<tr>
			<td align="right"  nowrap>现任职时间：</td>
			<td  nowrap>
				<c:set var="pserving_time"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/serving_time"/></c:set> 
			    <cpt:date id="pserving_time" name="org_persons/organization_person[03]/serving_time" value="${pserving_time}" size="16" 
				className="required date beforeToday dateCompareAfterE:pserving_time:projectbirthday" label="项目核心人员1->现任职时间"></cpt:date>
				<input type="hidden" name="serving_time" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/serving_time" />">
			</td>
			<td align="right"  nowrap>电话：</td>
			<td >
				<input type="text" name="org_persons/organization_person[03]/tel" class="required " label="项目核心人员1->电话" maxlength="20"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/tel"/>"/>
				<input type="hidden" name="tel" value="<x:out select="$xmlData/data/zh_persons/zh_person/contact/tel_work" />">
			</td>
			<td align="right"  nowrap>手机：</td>
			<td >
				<input type="text" name="org_persons/organization_person[03]/mobile" class="required mobile" label="项目核心人员1->手机" maxlength="11"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/mobile"/>"/>
				<input type="hidden" name="mobile" value="<x:out select="$xmlData/data/zh_persons/zh_person/contact/mobile" />">
			</td>
			<td align="right"  nowrap>专业：</td>
			<td >
				<input type="text" name="org_persons/organization_person[03]/major" class="required " label="项目核心人员1->专业" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/major"/>"/>
				<input type="hidden" name="major" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/major"/>">
			</td>
		</tr>
		<tr>
		    <td align="right" nowrap  nowrap>职务：</td>
		    <td >
				<input type="text" name="org_persons/organization_person[03]/position" class="required " label="项目核心人员1->职务" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/position"/>"/>
				<input type="hidden" name="position" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/position"/>">
			</td>
			<td align="right">证件类型：</td>
			<td>
		        <c:set var="hxrcardtype"><x:out select="$xmlData/data/zh_persons/zh_person/basic_info/card_type_value"/></c:set>
			    <c:set var="hxrcardtype2"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/hxr_card_type_value"/></c:set>
			    <c:if test="${hxrcardtype2=='' }">
			       <cpt:select id="hxr_card_type" key="id_type" value="${hxrcardtype}" className="select_width" onChange="changeCardType(this,'hxr','项目核心人员情况1');"></cpt:select>
			    </c:if>
			    <c:if test="${hxrcardtype2!='' }">
			       <cpt:select id="hxr_card_type" key="id_type" value="${hxrcardtype2}" onChange="changeCardType(this,'hxr','项目核心人员情况1');"></cpt:select>
			    </c:if>
		        <input type="hidden" id="hxr_card_type_value" name="org_persons/organization_person[03]/hxr_card_type_value" value="${hxrcardtype2}" label="项目核心人员1->证件类型" class="required"/>
				<input type="hidden" name="org_persons/organization_person[03]/hxr_card_type_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/hxr_card_type_name"/>" />
				<input type="hidden" name="hxr_card_type_value" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/card_type_value"/>">
			    <input type="hidden" name="hxr_card_type_name" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/card_type_name"/>">
			</td>
			<td align="right" nowrap  nowrap>证件号码：</td>
		    <td colspan="3">
				<input type="text"  id='hxr_id_no' onchange="idcard('hxr_card_type','hxr_id_no');" name="org_persons/organization_person[03]/id_no" class="required " label="项目核心人员1->证件号码" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/id_no"/>"/>
				<input type="hidden" id="fid_no4" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/card_code"/>">
			    
			    <script type="text/javascript">
			    $(function(){
			    	var hxr_id_no =$("#hxr_id_no").val();
			    
			    	if(hxr_id_no==null || hxr_id_no==''){
			    		$("#hxr_id_no").val($("#fid_no4").val());
			    	}
			    });
			    </script>
			  
			    <!--  
			    <input type="hidden" id="fid_type_value4" value="<x:out select="$xmlData/data/zh_persons/zh_person/basic_info/card_type_value"/>">
			    <script type="text/javascript">
	            $(function() {
		             var id_type_value=$("#fid_type_value4").val();
		             var id_no=$("#id_no4").val();
		             if(id_type_value==1 && id_no==''){
		            	 $("#id_no4").val($("#fid_no4").val());
		             }
	            });
            </script>
            -->
			</td>
		</tr>
		<tr>
			<td colspan="8"  nowrap>主要学习、工作经历、主要作品（限300字）</td>
		</tr>
		<tr>
		<td colspan="8">
				<textarea name="org_persons/organization_person[03]/work_situation" rows="7" cols="150" class="input_textarea required maxlength:300 textarea" required label="项目核心人员1->主要学习、工作经历、主要作品" ><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project']/work_situation" escapeXml="true" /></textarea>
			<input name="org_persons/organization_person[03]/work_situation_hidden" type="hidden" value=""/>
			</td>
		</tr> 
	</table>
	<div class="t_bar">
	<span class="color_red">*</span>项目核心人员情况2
	</div>
	<table   border="0" cellspacing="1" cellpadding="0" class="t_css" width="100%">
		<tr>
			<td align="right"  nowrap>姓名：</td>
			<td >
				<input type="hidden"
			      name="org_persons/organization_person[04]@psn_type" value="project1">
			    <input type="text" name="org_persons/organization_person[04]/cname" class="required " label="项目核心人员2->姓名" maxlength="50"
				  value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/cname"/>" />
			</td>
			<td align="right"  nowrap>性别：</td>
			<td >	
		       <label><input type="radio" name="gender4"  class="do" value="男" label="男" >男</label>
			   <label><input type="radio" name="gender4"  class="do" value="女" label="女" >女</label>
		       <input type="hidden" id='gender_value' name="org_persons/organization_person[04]/gender4_value" class="required"  label="项目核心人员2->性别"  value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/gender4_value" />">	
			   <input type="hidden" name="org_persons/organization_person[04]/gender4_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/gender4_name" />">	
		    </td>
			<td align="right"  nowrap>出生年月：</td>
			<td  nowrap>
			    <c:set var="projectbirthday"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/birthday"/></c:set> 
			    <cpt:date id="projectbirthday1" name="org_persons/organization_person[04]/birthday" value="${projectbirthday}" size="16" 
				   className="required date beforeToday" label="项目核心人员2->出生年月"></cpt:date>			    
			</td>
			<td align="right"  nowrap>最高学历：</td>
			<td >
				<c:set var="peducate"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/peducate_background1_value"/></c:set>
				<cpt:select id="peducate_background1"  key="educate"  className="select_width" value="${peducate}" ></cpt:select>
				<input type="hidden" name="org_persons/organization_person[04]/peducate_background1_value"  class="required" value="${peducate}" label="项目核心人员2->最高学历">
				<input type="hidden" name="org_persons/organization_person[04]/peducate_background1_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/peducate_background1_name" />">
			</td>
		</tr>
		<tr>
			<td align="right" nowrap  nowrap>现任职时间：</td>
			<td  nowrap>
				<c:set var="pserving_time"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/serving_time"/></c:set> 
			    <cpt:date id="pserving_time1" name="org_persons/organization_person[04]/serving_time" value="${pserving_time}" size="16" 
				className="required date beforeToday dateCompareAfterE:pserving_time1:projectbirthday1" label="项目核心人员2->现任职时间"></cpt:date>
			</td>
			<td align="right"  nowrap>电话：</td>
			<td >
				<input type="text" name="org_persons/organization_person[04]/tel" class="required " label="项目核心人员2->电话" maxlength="20"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/tel"/>"/>
			
			</td>
			<td align="right"  nowrap>手机：</td>
			<td >
				<input type="text" name="org_persons/organization_person[04]/mobile" class="required mobile" label="项目核心人员2->手机" maxlength="11"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/mobile"/>"/>
				
			</td>
			<td align="right"  nowrap>专业：</td>
			<td >
				<input type="text" name="org_persons/organization_person[04]/major" class="required " label="项目核心人员2->专业" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/major"/>"/>
			</td>
		</tr>
		<tr>
		    <td align="right"  nowrap>职务：</td>
		    <td >
				<input type="text" name="org_persons/organization_person[04]/position" class="required " label="项目核心人员2->职务" maxlength="50"
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/position"/>"/>
			</td>
			<td align="right">证件类型：</td>
			<td>
			<c:set var="card_type_value1"><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/card_type1_value" /></c:set>
			<cpt:select id="card_type1" key="id_type" value="${card_type_value1 }" onChange="changeCardType(this,'hxr2','项目核心人员情况2');" className="select_width" ></cpt:select>
			<input type="hidden" name="org_persons/organization_person[04]/card_type1_value" id="card_type1" value="${card_type_value1 }" label="项目核心人员2->证件类型" class="required"/>
			<input type="hidden" name="org_persons/organization_person[04]/card_type1_name" value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/card_type1_name" />"/>
		    </td>
			<td align="right"  nowrap>证件号码：</td>
		    <td colspan="3">
				<input type="text" class="required " label="项目核心人员2->证件号码" maxlength="50" id='hxr2_id_no' name="org_persons/organization_person[04]/id_no" 
					value="<x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/id_no"/>"/>
			</td>
		</tr>
		<tr>
			<td colspan="8"  nowrap>主要学习、工作经历、主要作品（限300字）</td>
		</tr>
		<tr>
		<td colspan="8">
				<textarea name="org_persons/organization_person[04]/work_situation" rows="7" cols="150" class="input_textarea required maxlength:300 textarea" required label="项目核心人员2->主要学习、工作经历、主要作品" ><x:out select="$xmlData/data/org_persons/organization_person[@psn_type='project1']/work_situation" escapeXml="true" /></textarea>
				<input name="org_persons/organization_person[04]/work_situation_hidden" type="hidden" value=""/>
			</td>
		</tr> 
	</table>
<script type="text/javascript">
      $(function() {
         var degree_college=$("#degree_college").val();
         var degree_bachelor=$("#degree_bachelor").val();
         var degree_master=$("#degree_master").val();
         var degree_doctor=$("#degree_doctor").val();
         var count=parseInt(degree_college)+parseInt(degree_bachelor)+parseInt(degree_master)+parseInt(degree_doctor);
    
         $("#1d1egree_total").html(count);
        
         var people_count_total = parseInt($("#people_count_total").val());
         var degree_total_rate = count*100/people_count_total;
         degree_total_rate= formatNumberAuto(degree_total_rate.toString(), 9, 2, 2);
         $("#degree_total_rate").html(degree_total_rate + "%");
         var work_yanfa = $("#work_yanfa").val();
         
         var work_yanfa_rate = parseInt(work_yanfa)*100/parseInt(people_count_total);
         work_yanfa_rate = formatNumberAuto(work_yanfa_rate.toString(), 9, 2, 2);
         $("#1wo1rk_yanfa_rate").html(work_yanfa_rate + "%");
         
         initPersonValue("tblFaren");
         initPersonValue("tblfuzeren");
         initPersonValue("tblProjectFuzeren");
      });
      
      function initPersonValue(tblName){
    	  var tbl = $("#" + tblName);
    	 
    	  tbl.find("input[type=hidden]").each(function(){
    			var id=$(this).attr("name");
    			
    			if(id==null || id=="")
    				return true;
    			var parentObj=tbl.find("[name$='/"+id+"']");
    			
    			if(parentObj.val() == null || $.trim(parentObj.val()) == ""){
    				var value= $(this).val();
	    			parentObj.val(value);
    			}
    			
    		});
    	  
      }
</script>

<script type="text/javascript">
<!--
//选择机构负责人回调
function selectPsnCall(data) {
	$("input[name$='psn_code']").val(data.person.psnCode);
	$("#tblProjectFuzeren").find("input[name$='cname']").val(data.person.zhName);
	var gender = data.personExtend.basic_info.gender_value;
	if (gender == 'M') {
		gender = "男";
	} else {
		gender = "女";
	}
	$("#tblProjectFuzeren").find("input[name$='gender3'][value='"+gender+"']").attr("checked","checked");
	$("#tblProjectFuzeren").find("input[name$='gender3_value']").val(gender);
	$("#tblProjectFuzeren").find("input[name$='gender3_name']").val(gender);
	$("#tblProjectFuzeren").find("input[name$='birthday']").val(data.personExtend.basic_info.birthday);
	$("#tblProjectFuzeren").find("input[name$='position']").val(data.personExtend.basic_info.position);
	$("#tblProjectFuzeren").find("input[name$='tel']").val(data.personExtend.contact.tel_work);
	$("#tblProjectFuzeren").find("input[name$='mobile']").val(data.personExtend.contact.mobile);
	$("#tblProjectFuzeren").find("input[name$='major']").val(data.personExtend.contact.major);
	$("#peducate_background").val(data.personExtend.basic_info.educate_value);
	$("#tblProjectFuzeren").find("input[name$='peducate_background_value']").val(data.personExtend.basic_info.educate_value);
	$("#tblProjectFuzeren").find("input[name$='peducate_background_name']").val(data.personExtend.basic_info.educate_name);
	$("#hxr_card_type").val(data.personExtend.basic_info.card_type_value);
	$("#tblProjectFuzeren").find("input[name$='hxr_card_type_value']").val(data.personExtend.basic_info.card_type_value);
	$("#tblProjectFuzeren").find("input[name$='hxr_card_type_name']").val(data.personExtend.basic_info.card_type_name);
	$("#tblProjectFuzeren").find("input[name$='id_no']").val(data.personExtend.basic_info.card_code);
	tb_remove2();
}
//-->
</script>

<script type="text/javascript">
	
	function changeCardType1(){
		var cardTypeObj = $("#card_type");
		var cardCodeObj = $("#id_no3");
		
		if(cardTypeObj.val()=="1"){
			cardCodeObj.addClass("idCard");
			cardCodeObj.attr("label","身份证");
		} else {
			cardCodeObj.removeClass("idCard");
			cardCodeObj.attr("label","证件号码");
		}
		
		
	}
	function changeCardType(){
		var cardTypeObj = $("#card_type1");
		var cardCodeObj = $("#id_no5");
		
		if(cardTypeObj.val()=="1"){
			cardCodeObj.addClass("idCard");
			cardCodeObj.attr("label","身份证");
		} else {
			cardCodeObj.removeClass("idCard");
			cardCodeObj.attr("label","证件号码");
		}
		
		
	}
	
	 function changeCardType(obj,type,texts){
 		var cardCodeObj = $('#'+type+'_id_no');
 		if(obj.value=="1"){
 			cardCodeObj.addClass("idCard");
 			cardCodeObj.attr("label",texts+"->身份证");
 		} else {
 			cardCodeObj.removeClass("idCard");
 			cardCodeObj.attr("label",texts+"->证件号码");
 		}
 	}
	 function idcard(id1,id2){
		 var value = $("#"+id1).val();
		 var cla = $("#"+id2);
		 if(value == 1){
			 cla.addClass("idCard");
		 }
	 }
</script>